We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest. Update Here
Stay in the loop with the latest from Microchip. Update your profile while you are at it. Update Here
Complete your profile to access more resources. Update Here

MPLAB® for VS Code®

Live Chat

Need Help?

Privacy Policy

Why VS Code®?


You'll love the move to MPLAB® for Microsoft® Visual Studio® Code (VS Code) because it delivers the full Microchip toolchain inside the world’s most popular code editor. Installs are lightweight, updates come automatically and startup is fast with no more heavy IDE overhead. You’ll work in a modern editing environment powered by LSP-based code intelligence, which brings real-time error checking, go-to-definition, smart code navigation and context-aware auto completion. Debugging is smoother and faster too, with our current selection of programmers/debuggers and CMSIS-DAP tools integrated into the native VS Code debug toolbar.

Use Our Development Tools Within the Popular VS Code Source Code Editor


MPLAB for VS Code is a collection of VS Code extensions that combines the power of the MPLAB development ecosystem with the versatility of VS Code. Whether you are a new or existing client, MPLAB Extensions for VS Code provides you with a seamless, flexible and efficient development environment with comprehensive support for designs based on our devices.

If you are new to VS Code and are familiar with MPLAB X IDE, we have created a comparison guide to help you get started with MPLAB Extensions for VS Code. You can also check out our blog post for more details. 

You can download these extensions via the Extensions Marketplace available within VS Code or you can search for them online in the Visual Studio Marketplace.

MPLAB Tools Currently Available in VS Code


MPLAB AI Coding Assistant

An AI-enabled extension for VS Code® that accelerates embedded software development with real-time code generation, autocomplete and intelligent troubleshooting

MPLAB Data Visualizer

A graphical debugging and monitoring tool that displays real-time application data, variables and power measurements through graphs, terminals and logic analysis views

MPLAB Code Configurator (MCC)

A graphical configuration tool that simplifies peripheral setup, middleware integration and automatic code generation for our MCUs and MPUs

MPLAB XC Compilers

A family of optimized C/C++ compilers for our PIC®, AVR®, SAM and dsPIC® devices that delivers efficient, high-performance embedded code generation

MPLAB Machine Learning (ML) Development Suite

An integrated toolkit for developing, training and deploying machine learning models on our MCUs and MPUs, enabling intelligent edge AI applications with optimized performance and low power consumption

VS Code Shortcuts


Keyboard shortcuts can help you develop more efficiently. Use the links below to explore the broad list of shortcuts VS Code allows:

Seamless Integration Between MPLAB Development Ecosystem and VS Code


Dive into a development experience that effortlessly merges the robust capabilities of the MPLAB development ecosystem with the dynamic features of VS Code. Our extensions enable you to develop with MPLAB X IDE projects, MPLAB in-circuit debuggers/programmers and MPLAB XC compilers within the VS Code environment. Whether you’re importing projects, developing, debugging or programming, our extensions enable you to continue working in the widely adopted VS Code with full support for all our devices and toolset.

Some of our extensions are currently released under an early access program, which will allow users to try them out and provide us with community feedback. Your recommendations will help us refine the extensions to better suit your development needs. Please use this online form, which you can also access in the description of any MPLAB Tool, to send us your feedback and let us know which extensions or features you have tried out, what your user experience was like and what new features or capabilities you would like to see incorporated in a future update.

Features


  • Create new projects or import an existing MPLAB X IDE project
  • Simple user interface for project settings
  • Generate CMake files for building
  • Programming and basic debugging, with support for current MPLAB in-circuit debuggers/programmers
  • Works with any supported Microchip devices
  • Supports MPLAB XC8, XC32 and XC-DSC compilers
  • Supports MPLAB Data Visualizer
  • Added views to assist with embedded target debugging functionalities:
    • Memory view
    • I/O view
    • Development kit/evaluation board views
    • Disassembly view
  • Supports MPLAB Code Configurator (MCC)

Development Roadmap: Our Commitment to Innovation


We are dedicated to meeting developers in their environment of choice with more accessible and flexible tools. The introduction of these MPLAB Tools for VS Code is just the beginning of our broader integration with the VS Code community. Look for future updates about new extensions and additional features that will be available, participate in the early access program for these tools and provide your feedback to help us refine the extensions to fit your development needs. 

Getting Started with MPLAB® Tools for VS Code®

Discover the basics of VS Code with this playlist of Dev Tool Bits videos dedicated to MPLAB Tools for VS Code. These short but informative videos will guide you through installation, importing a project, starting up MPLAB Data Visualizer and more.

Need Some Help?


We are here to support you. Contact our Client Success Team to get assistance with your design.











Microchip University

Live Chat

Need Help?

Privacy Policy